<template>
    <div class="profile">
        <img class="profile_img" :src="profile_img_src">
    </div>
</template>

<script setup>
import { ref,defineProps, toRef } from 'vue'
const props = defineProps({  
    imgSrc: String,
});
// const profile_img_src = toRef(props, 'imgSrc')
const profile_img_src = ref('src/components/icons/profile_off.png')

</script>

<style scoped>
    .profile {
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease-in-out;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
    }
    .profile_img {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1.5px solid #ecf5ff;
        cursor: pointer;
        background-color: #dedfe0;
    }
</style>